/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.private_access;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/10 0:02
 */
public class Father {

    public void fatherPublic(){
        System.out.println("this is a public method in father. i'm going to call fatherPrivate");
        fatherPrivate();
    }

    private void fatherPrivate(){
        System.out.println("this is a private method in father");
    }
}
